﻿<UserControl x:Class="OI.Views.SearchPanelView"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
    xmlns:Framework="clr-namespace:OI.Framework" 
    xmlns:Images="clr-namespace:OI.Images" mc:Ignorable="d">
    
    <Grid>
        <Framework:WatermarkTextBox x:Name="Search" Width="240" Height="32"
                                    Style="{StaticResource WatermarkTextBoxStyle}" />
        <Images:SearchIcon Width="30" Height="30" HorizontalAlignment="Right" Margin="0,0,4,0"
                           Opacity="0.66" RenderTransformOrigin="0.5, 0.5">
            <Images:SearchIcon.RenderTransform>
                <ScaleTransform ScaleX="0.8" ScaleY="0.8"/>
            </Images:SearchIcon.RenderTransform>
        </Images:SearchIcon>
    </Grid>
</UserControl>
